package com.example.demo.算法_test.graph;

/**
 * @program: java_base
 * @description: 图中的边
 * @author: zhouhongtao
 * @happyCreateTime: 2022/03/15 08:44
 */
public class Edge {

    int weight;
    Node from;
    Node to;

    public Edge(int weight, Node from, Node to) {
        this.weight = weight;
        this.from = from;
        this.to = to;
    }
}
